package mk.ukim.finki.studentguide;

import java.util.ArrayList;
import java.util.List;

import mk.ukim.finki.studentguide.xmlconfiguration.Building;
import mk.ukim.finki.studentguide.xmlconfiguration.Level;
import mk.ukim.finki.studentguide.xmlconfiguration.Room;

import android.app.Application;

public class MyApplication extends Application {

    private String someVariable;
    private int selectedBuilding =0;
    public List<Building> lstBuildings = new ArrayList<Building>();
    private int selectedLevel=0;
    public List<Level> lstLevels = new ArrayList<Level>();
    private boolean canRefreshActivity=false;
    private String searchedRoomName = null;
    private boolean comingFromSearch = false;
    private Room searchedRoom = null;

    public String getSomeVariable() {
        return someVariable;
    }

    public void setSomeVariable(String someVariable) {
        this.someVariable = someVariable;
    }

	public int getSelectedBuilding() {
		return selectedBuilding;
	}

	public void setSelectedBuilding(int selectedBuilding) {
		this.selectedBuilding = selectedBuilding;
	}

	public List<Building> getLstBuildings() {
		return lstBuildings;
	}

	public void setLstBuildings(List<Building> lstBuildings) {
		this.lstBuildings = lstBuildings;
	}

	public int getSelectedLevel() {
		return selectedLevel;
	}

	public void setSelectedLevel(int selectedLevel) {
		this.selectedLevel = selectedLevel;
	}

	public List<Level> getLstLevels() {
		return lstLevels;
	}

	public void setLstLevels(List<Level> lstLevels) {
		this.lstLevels = lstLevels;
	}

	public boolean isCanRefreshActivity() {
		return canRefreshActivity;
	}

	public void setCanRefreshActivity(boolean canRefreshActivity) {
		this.canRefreshActivity = canRefreshActivity;
	}

	public String getSearchedRoomName() {
		return searchedRoomName;
	}

	public void setSearchedRoomName(String searchedRoomName) {
		this.searchedRoomName = searchedRoomName;
	}

	public boolean isComingFromSearch() {
		return comingFromSearch;
	}

	public void setComingFromSearch(boolean comingFromSearch) {
		this.comingFromSearch = comingFromSearch;
	}

	public Room getSearchedRoom() {
		return searchedRoom;
	}

	public void setSearchedRoom(Room searchedRoom) {
		this.searchedRoom = searchedRoom;
	}
    
}
